package com.itdd.mapper;


import com.itdd.pojo.Book;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookMapper {
    List<Book> selectAll();

    void updateBookNum(@Param("bookId") int bookId);

    void updateBookNumUp(@Param("bookId") int bookId);

    void addBook(Book book);

    void deleteByBookId(int bookId);

}
